package com.log.template;

import com.alibaba.fastjson.JSON;

public abstract class BaseLogBean {

    private int dealTime = (int) (System.currentTimeMillis()/1000);
    private String userId;
    
    
    public String toJson() {
    	return JSON.toJSONString(this);
    }
    
    public BaseLogBean(String userId) {
    	this.userId = userId;
	}
    
    public int getDealTime() {
        return dealTime;
    }

    public void setDealTime(int dealTime) {
        this.dealTime = dealTime;
    }

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}
}
